Optimal. Leaf size=26 \[ \frac {2 a \sec (c+d x) \sqrt {a+a \sin (c+d x)}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {2752}
\begin {gather*} \frac {2 a \sec (c+d x) \sqrt {a \sin (c+d x)+a}}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2752
Rubi steps
\begin {align*} \int \sec ^2(c+d x) (a+a \sin (c+d x))^{3/2} \, dx &=\frac {2 a \sec (c+d x) \sqrt {a+a \sin (c+d x)}}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(67\) vs. \(2(26)=52\).
time = 0.10, size = 67, normalized size = 2.58 \begin {gather*} \frac {2 (a (1+\sin (c+d x)))^{3/2}}{d \left (\cos \left (\frac {1}{2} (c+d x)\right )-\sin \left (\frac {1}{2} (c+d x)\right )\right ) \left (\cos \left (\frac {1}{2} (c+d x)\right )+\sin \left (\frac {1}{2} (c+d x)\right )\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.21, size = 37, normalized size = 1.42
method | result | size |
default | \(\frac {2 a^{2} \left (1+\sin \left (d x +c \right )\right )}{\cos \left (d x +c \right ) \sqrt {a +a \sin \left (d x +c \right )}\, d}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 98 vs.
\(2 (24) = 48\).
time = 0.62, size = 98, normalized size = 3.77 \begin {gather*} -\frac {2 \, {\left (a^{\frac {3}{2}} + \frac {2 \, a^{\frac {3}{2}} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {a^{\frac {3}{2}} \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}}\right )}}{d {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - 1\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 26, normalized size = 1.00 \begin {gather*} \frac {2 \, \sqrt {a \sin \left (d x + c\right ) + a} a}{d \cos \left (d x + c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 6.29, size = 38, normalized size = 1.46 \begin {gather*} -\frac {\sqrt {2} a^{\frac {3}{2}} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}{d \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.77, size = 37, normalized size = 1.42 \begin {gather*} \frac {4\,a\,\cos \left (c+d\,x\right )\,\sqrt {a\,\left (\sin \left (c+d\,x\right )+1\right )}}{d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________